/**
 * 系统级样式修改
 */
$font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue', arial, 'PingFang SC',
  'Hiragino Sans GB', stheiti, 'Microsoft YaHei', 'Microsoft JhengHei', 'Source Han Sans SC',
  'Noto Sans CJK SC', 'Source Han Sans CN', 'Noto Sans SC', 'Source Han Sans TC', 'Noto Sans CJK TC',
  'WenQuanYi Micro Hei', simsun, sans-serif;

body {
	font-size: 30upx;
	color: #101010;
	font-weight: normal;
	font-style: normal;
	font-family: $font-family;
}

button, image, input,
label, navigator, scroll-view,
swiper, textarea, view {
	box-sizing: border-box
}

view {
	font-size: 30upx;
	line-height: 1.8
}

checkbox-group, progress {
	width: 100%
}

form {
	width: 100%
}

li {
	list-style: none;
}

uni-page-wrapper, uni-page-body, uni-page-body > uni-view:first-child {
	height: 100%;
}

/*去掉滚动条样式*/
::-webkit-scrollbar {
	display: none
}

/**
 * 按钮样式
 */
$btn-radius: 12upx;
.wk-flex {
	display: flex;
	flex-direction: row;
}
// 默认主题色按钮
.su-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border-color: $maincolor;
	height: 80upx;
	color: #ffffff;
	font-size: 30upx;
	border-radius: $btn-radius;
	background-image: linear-gradient(to right, $maincolor , $maincolor-active) !important;
	
	&[disabled] {
		background-image:none;
		background-color: #eeeeee !important;
		color: #888888 !important;
	}
	&[disabled]:active {
		background-image:none;
	}
	&:active {
		background-image: linear-gradient(to right, $maincolor-active, $maincolor);
	}
	&.pos-bottom {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
	}
	&:after {
		border: none;
	}
}

// 白色按钮
.su-button-white {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	width: 100%;
	height: 80upx;
	color: #343434;
	font-size: 30upx;
	border-radius: $btn-radius;
	box-shadow: 1upx 2upx 3upx #eeeeee;
	&[disabled] {
		background-color: #eeeeee !important;
		color: #888888 !important;
	}
	&:active {
		background-color: #eeeeee;
	}
	
	&:after {
		border: none;
		content: '';
	}
	&:before {
		content: " ";
		width: 200%;
		height: 200%;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		border: 1upx solid #e1e1e1;
		border-radius: 24upx;
		-webkit-transform: scale(.5);
		transform: scale(.5);
		-webkit-transform-origin: 0 0;
		transform-origin: 0 0;
		box-sizing: border-box;
		pointer-events: none
	}
}

.su-border2 {
	position: relative
}

.su-border2::before {
	content: " ";
	width: 200%;
	height: 200%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	-webkit-transform: scale(.5);
	transform: scale(.5);
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	box-sizing: border-box;
	pointer-events: none
}